<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>发光文字特效</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }

      body {
        background-color: black;
        color: #fff;
      }

      div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) skewY(-5deg);
        font-size: 28px;
        border: 4px solid #fff;
        padding: 40px 50px;
        border-radius: 10px;
        box-shadow: 0 0 15px #1eff4e, 0 0 15px #1eff4e inset;
        animation: animation 0.5s linear infinite;
      }

      div::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 4px;
        left: 0;
        bottom: 88px;
        background: #fff;
        box-shadow: 0 0 15px #1eff4e;
        z-index: -1;
      }

      div::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 4px;
        left: 0;
        bottom: 55px;
        background: #fff;
        box-shadow: 0 0 15px #1eff4e;
        z-index: -1;
      }

      h1 {
        text-shadow: 0 0 30px #1eff4e, 0 0 150px #1eff4e;
      }

      h1 span {
        animation: animation 0.6s linear infinite;
      }

      h1 span:nth-child(1) {
        animation-delay: 0.2s;
      }

      h1 span:nth-child(2) {
        animation: none;
      }

      h1 span:nth-child(3) {
        animation-delay: 0.3s;
      }

      h1 span:nth-child(4) {
        animation-delay: 0.25s;
      }

      h1 span:nth-child(5) {
        animation-delay: 0.35s;
      }

      h1 span:nth-child(6) {
        animation-delay: 0.4s;
      }

      @keyframes animation {
        0% {
          opacity: 1;
        }
        30% {
          opacity: 1;
        }
        40% {
          opacity: 0.5;
        }
        50% {
          opacity: 1;
        }
        100% {
          opacity: 1;
        }
      }
    </style>
  </head>
  <body>
    <div>
      <h1>
        <span>藤</span> <span>原</span> <span>と</span> <span>う</span>
        <span>ふ</span> 店
      </h1>
    </div>
  </body>
</html>
